#include <stdio.h>

int main(void) {
	int n;
	scanf("%d", &n);
	int wei = 1;
	if (n < 0) {
		n = -n;
		printf("fu ");
	}
	int m = n;
	while (m > 9) {
		wei *= 10;
		m /= 10;
	}
	while (wei) {
		int d = n / wei;
		switch (d) {
			case 1:
				printf("yi");
				break;
			case 2:
				printf("er");
				break;
			case 3:
				printf("san");
				break;
			case 4:
				printf("si");
				break;
			case 5:
				printf("wu");
				break;
			case 6:
				printf("liu");
				break;
			case 7:
				printf("qi");
				break;
			case 8:
				printf("ba");
				break;
			case 9:
				printf("jiu");
				break;
			case 0:
				printf("ling");
				break;
		}
		if (wei != 1)
			printf(" ");
		n = n % wei;
		wei /= 10;

	}

}